#ifndef ENNEMIS_H
#define ENNEMIS_H

#include <QGraphicsItem>
#include<QtGui>
#include<projectile.h>
#include <algorithm>

class Ennemis : public QGraphicsItem
{
protected:
    float taille;
    QString dep;
    float vitesse;
    float hp;
    float resist;


public:
    Ennemis(float, QString, float, float, float);
    void deplacer();
    virtual void toucher(Projectile&)=0;
    virtual void advance(int)=0;

    virtual ~Ennemis(){}
};

#endif // ENNEMIS_H
